package com.lee.dubbo.service.dubbo.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.lee.dubbo.service.domain.City;
import com.lee.dubbo.service.dubbo.CityDubboService;

/**
 * Created by liping on 2017/10/30.
 */
@Service(version = "1.0.0")
public class CityDubboServiceImpl implements CityDubboService {
    @Override
    public City getCity(String name, String address) {
        City city = new City();
        city.setName(name);
        city.setAddress(address);
        return city;
    }
}
